﻿Public Class usuarioBO

    Private usuario As New usuarioDAO

    Public Function getUsuario(ByVal id_usuario As Integer) As usuarioVO
        Try
            Return usuario.getUsuario(id_usuario)
        Catch ex As Exception
            Throw ex
        End Try
    End Function

    Public Function getUsuariosSecao(Optional ByVal ID_SECAO = 0) As Generic.List(Of usuarioVO)
        Try

            Return usuario.getUsuariosSecao(ID_SECAO)

        Catch ex As Exception

            Throw ex

        End Try

    End Function
    Public Function getLogin(ByVal id_usuario As String, ByVal senha As String) As usuarioVO
        Try

            Return usuario.getLogin(id_usuario, senha)

        Catch ex As Exception

            Throw ex

        End Try


    End Function

End Class
